Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pygw and checkout wxflow #1722

Merged
merged 20 commits into from
Jul 10, 2023

Conversation

aerorahul
Copy link
Contributor

@aerorahul aerorahul commented Jul 3, 2023

Description

pygw from the global-workflow has been moved to its own repository at wxflow.
This PR:

  • removes pygw and replaces it with a checkout of wxflow in checkout.sh and Externals.cfg

Going forward, until wxflow becomes a fixture as a module, global-workflow will be required to be checked out and is done as part of checkout.sh and Externals.cfg

Type of change

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?
CI testing will be used to test this change.
GDASApp tests will also need to be tested. This is unknown.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes need updates to the documentation. I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • Any dependent changes have been merged and published

@aerorahul aerorahul added CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera CI-Orion-Ready **CM use only** PR is ready for CI testing on Orion labels Jul 3, 2023
@emcbot emcbot added CI-Orion-Building **Bot use only** CI testing is cloning/building on Orion CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera CI-Orion-Failed **Bot use only** CI testing on Orion for this PR has failed and removed CI-Orion-Ready **CM use only** PR is ready for CI testing on Orion CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera CI-Orion-Building **Bot use only** CI testing is cloning/building on Orion labels Jul 3, 2023
@emcbot
Copy link

emcbot commented Jul 3, 2023

Automated global-workflow Testing Results:

Machine: Orion
Start: Sun Jul  2 22:52:19 CDT 2023 on Orion-login-1.HPC.MsState.Edu
---------------------------------------------------
Checkout:                      *SUCCESS*
Checkout: Completed at Sun Jul  2 22:54:18 CDT 2023
Build:                         *SUCCESS*
Build: Completed at Mon Jul  3 00:10:29 CDT 2023
Failed to create experiment:  *FAIL* C48_S2S
Experiment setup: failed at Mon Jul  3 00:10:32 CDT 2023 for experiment C48_S2S

Traceback (most recent call last):
  File "/work2/noaa/stmp/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/work2/noaa/stmp/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'
Failed to create experiment:  *FAIL* C96_atm3DVar
Experiment setup: failed at Mon Jul  3 00:10:34 CDT 2023 for experiment C96_atm3DVar

Traceback (most recent call last):
  File "/work2/noaa/stmp/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/work2/noaa/stmp/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'
Failed to create experiment:  *FAIL* C96C48_hybatmDA
Experiment setup: failed at Mon Jul  3 00:10:36 CDT 2023 for experiment C96C48_hybatmDA

Traceback (most recent call last):
  File "/work2/noaa/stmp/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/work2/noaa/stmp/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'

@emcbot emcbot added CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed and removed CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera labels Jul 3, 2023
@emcbot
Copy link

emcbot commented Jul 3, 2023

Automated global-workflow Testing Results:

Machine: Hera
Start: Mon Jul  3 03:52:50 UTC 2023 on hfe05
---------------------------------------------------
Checkout:                      *SUCCESS*
Checkout: Completed at Mon Jul  3 03:57:19 UTC 2023
Build:                         *SUCCESS*
Build: Completed at Mon Jul  3 05:10:48 UTC 2023
Failed to create experiment:  *FAIL* C48_S2S
Experiment setup: failed at Mon Jul  3 05:10:50 UTC 2023 for experiment C48_S2S

Traceback (most recent call last):
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'
Failed to create experiment:  *FAIL* C96C48_hybatmDA
Experiment setup: failed at Mon Jul  3 05:10:51 UTC 2023 for experiment C96C48_hybatmDA

Traceback (most recent call last):
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'
Failed to create experiment:  *FAIL* C96_atm3DVar
Experiment setup: failed at Mon Jul  3 05:10:53 UTC 2023 for experiment C96_atm3DVar

Traceback (most recent call last):
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'

@aerorahul aerorahul added CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera and removed CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed CI-Orion-Failed **Bot use only** CI testing on Orion for this PR has failed labels Jul 3, 2023
@emcbot emcbot added CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera and removed CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera labels Jul 3, 2023
@emcbot emcbot added CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed and removed CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera labels Jul 3, 2023
@emcbot
Copy link

emcbot commented Jul 3, 2023

Automated global-workflow Testing Results:

Machine: Hera
Start: Mon Jul  3 13:32:52 UTC 2023 on hfe05
---------------------------------------------------
Checkout:                      *SUCCESS*
Checkout: Completed at Mon Jul  3 13:36:15 UTC 2023
Build:                         *SUCCESS*
Build: Completed at Mon Jul  3 14:43:48 UTC 2023
Failed to create experiment:  *FAIL* C48_S2S
Experiment setup: failed at Mon Jul  3 14:43:50 UTC 2023 for experiment C48_S2S

Traceback (most recent call last):
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'
Failed to create experiment:  *FAIL* C96C48_hybatmDA
Experiment setup: failed at Mon Jul  3 14:43:52 UTC 2023 for experiment C96C48_hybatmDA

Traceback (most recent call last):
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'
Failed to create experiment:  *FAIL* C96_atm3DVar
Experiment setup: failed at Mon Jul  3 14:43:53 UTC 2023 for experiment C96_atm3DVar

Traceback (most recent call last):
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'

@aerorahul
Copy link
Contributor Author

aerorahul commented Jul 3, 2023

Automated global-workflow Testing Results:

Machine: Hera
Start: Mon Jul  3 13:32:52 UTC 2023 on hfe05
---------------------------------------------------
Checkout:                      *SUCCESS*
Checkout: Completed at Mon Jul  3 13:36:15 UTC 2023
Build:                         *SUCCESS*
Build: Completed at Mon Jul  3 14:43:48 UTC 2023
Failed to create experiment:  *FAIL* C48_S2S
Experiment setup: failed at Mon Jul  3 14:43:50 UTC 2023 for experiment C48_S2S

Traceback (most recent call last):
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'
Failed to create experiment:  *FAIL* C96C48_hybatmDA
Experiment setup: failed at Mon Jul  3 14:43:52 UTC 2023 for experiment C96C48_hybatmDA

Traceback (most recent call last):
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'
Failed to create experiment:  *FAIL* C96_atm3DVar
Experiment setup: failed at Mon Jul  3 14:43:53 UTC 2023 for experiment C96_atm3DVar

Traceback (most recent call last):
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/setup_expt.py", line 13, in <module>
    from hosts import Host
  File "/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT/PR/1722/global-workflow/workflow/hosts.py", line 6, in <module>
    from wxflow.yaml_file import YAMLFile
ModuleNotFoundError: No module named 'wxflow'

I don't think this is a branch issue, but a CI issue.
I have cloned and built and setup the experiment from this branch on Hera and I get no such errors.

cd /scratch1/NCEPDEV/stmp2/Rahul.Mahajan/scratch/global-workflow
./workflow/setup_expt.py gfs forecast-only --app ATM --pslot ccc --idate 2013040100 --edate 2013040100 --gfs_cyc 1 --resdet 384 --expdir /scratch1/NCEPDEV/stmp2/Rahul.Mahajan/EXPDIR --comrot /scratch1/NCEPDEV/stmp2/Rahul.Mahajan/ROTDIR
forecast-only mode treats ICs differently and cannot be staged here
EDITED:  /scratch1/NCEPDEV/stmp2/Rahul.Mahajan/EXPDIR/ccc/config.base as per user input.
EDITED:  /scratch1/NCEPDEV/stmp2/Rahul.Mahajan/EXPDIR/ccc/config.aeroanl as per user input.
EDITED:  /scratch1/NCEPDEV/stmp2/Rahul.Mahajan/EXPDIR/ccc/config.landanl as per user input.
EDITED:  /scratch1/NCEPDEV/stmp2/Rahul.Mahajan/EXPDIR/ccc/config.ocnanal as per user input.

@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA added CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera and removed CI-Hera-Failed **Bot use only** CI testing on Hera for this PR has failed labels Jul 3, 2023
@aerorahul aerorahul changed the title Remove pygw and replace with git submodule of wxflow Remove pygw and checkoutwxflow Jul 7, 2023
@aerorahul aerorahul changed the title Remove pygw and checkoutwxflow Remove pygw and checkout wxflow Jul 7, 2023
@aerorahul aerorahul reopened this Jul 7, 2023
@WalterKolczynski-NOAA WalterKolczynski-NOAA removed CI-Hera-Passed **Bot use only** CI testing on Hera for this PR has completed successfully CI-Orion-Failed **Bot use only** CI testing on Orion for this PR has failed labels Jul 7, 2023
@WalterKolczynski-NOAA WalterKolczynski-NOAA added the CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera label Jul 7, 2023
Copy link
Contributor

@WalterKolczynski-NOAA WalterKolczynski-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provisionally approved pending CI testing

@emcbot emcbot added CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera and removed CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera labels Jul 7, 2023
@emcbot emcbot added CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress and removed CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera labels Jul 7, 2023
@emcbot
Copy link

emcbot commented Jul 7, 2023

Automated global-workflow Testing Results:

Machine: Hera
Start: Fri Jul  7 21:32:50 UTC 2023 on hfe05
---------------------------------------------------
Checkout:                      *SUCCESS*
Checkout: Completed at Fri Jul  7 21:36:59 UTC 2023
Build:                         *SUCCESS*
Build: Completed at Fri Jul  7 22:44:56 UTC 2023
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:44:59 UTC 2023 for experiment C48_S2S
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:45:02 UTC 2023 for experiment C96C48_hybatmDA
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:45:05 UTC 2023 for experiment C96_atm3DVar

@emcbot
Copy link

emcbot commented Jul 7, 2023

Automated global-workflow Testing Results:

Machine: Hera
Start: Fri Jul  7 21:32:50 UTC 2023 on hfe05
---------------------------------------------------
Checkout:                      *SUCCESS*
Checkout: Completed at Fri Jul  7 21:36:59 UTC 2023
Build:                         *SUCCESS*
Build: Completed at Fri Jul  7 22:44:56 UTC 2023
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:44:59 UTC 2023 for experiment C48_S2S
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:45:02 UTC 2023 for experiment C96C48_hybatmDA
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:45:05 UTC 2023 for experiment C96_atm3DVar
Experiment C48_S2S completed: *SUCCESS*
Experiment C48_S2S Completed at Fri Jul  7 23:27:07 UTC 2023
with 18 successfully completed jobs

@emcbot
Copy link

emcbot commented Jul 8, 2023

Automated global-workflow Testing Results:

Machine: Hera
Start: Fri Jul  7 21:32:50 UTC 2023 on hfe05
---------------------------------------------------
Checkout:                      *SUCCESS*
Checkout: Completed at Fri Jul  7 21:36:59 UTC 2023
Build:                         *SUCCESS*
Build: Completed at Fri Jul  7 22:44:56 UTC 2023
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:44:59 UTC 2023 for experiment C48_S2S
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:45:02 UTC 2023 for experiment C96C48_hybatmDA
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:45:05 UTC 2023 for experiment C96_atm3DVar
Experiment C48_S2S completed: *SUCCESS*
Experiment C48_S2S Completed at Fri Jul  7 23:27:07 UTC 2023
with 18 successfully completed jobs
Experiment C96C48_hybatmDA completed: *SUCCESS*
Experiment C96C48_hybatmDA Completed at Sat Jul  8 01:12:11 UTC 2023
with 148 successfully completed jobs

@emcbot
Copy link

emcbot commented Jul 8, 2023

Automated global-workflow Testing Results:

Machine: Hera
Start: Fri Jul  7 21:32:50 UTC 2023 on hfe05
---------------------------------------------------
Checkout:                      *SUCCESS*
Checkout: Completed at Fri Jul  7 21:36:59 UTC 2023
Build:                         *SUCCESS*
Build: Completed at Fri Jul  7 22:44:56 UTC 2023
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:44:59 UTC 2023 for experiment C48_S2S
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:45:02 UTC 2023 for experiment C96C48_hybatmDA
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:45:05 UTC 2023 for experiment C96_atm3DVar
Experiment C48_S2S completed: *SUCCESS*
Experiment C48_S2S Completed at Fri Jul  7 23:27:07 UTC 2023
with 18 successfully completed jobs
Experiment C96C48_hybatmDA completed: *SUCCESS*
Experiment C96C48_hybatmDA Completed at Sat Jul  8 01:12:11 UTC 2023
with 148 successfully completed jobs
Experiment C96_atm3DVar completed: *SUCCESS*
Experiment C96_atm3DVar Completed at Sat Jul  8 01:45:15 UTC 2023
with 86 successfully completed jobs

@emcbot emcbot added CI-Hera-Passed **Bot use only** CI testing on Hera for this PR has completed successfully and removed CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress labels Jul 8, 2023
@emcbot
Copy link

emcbot commented Jul 8, 2023

Automated global-workflow Testing Results:

Machine: Hera
Start: Fri Jul  7 21:32:50 UTC 2023 on hfe05
---------------------------------------------------
Checkout:                      *SUCCESS*
Checkout: Completed at Fri Jul  7 21:36:59 UTC 2023
Build:                         *SUCCESS*
Build: Completed at Fri Jul  7 22:44:56 UTC 2023
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:44:59 UTC 2023 for experiment C48_S2S
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:45:02 UTC 2023 for experiment C96C48_hybatmDA
Created experiment:            *SUCCESS*
Case setup: Completed at Fri Jul  7 22:45:05 UTC 2023 for experiment C96_atm3DVar
Experiment C48_S2S completed: *SUCCESS*
Experiment C48_S2S Completed at Fri Jul  7 23:27:07 UTC 2023
with 18 successfully completed jobs
Experiment C96C48_hybatmDA completed: *SUCCESS*
Experiment C96C48_hybatmDA Completed at Sat Jul  8 01:12:11 UTC 2023
with 148 successfully completed jobs
Experiment C96_atm3DVar completed: *SUCCESS*
Experiment C96_atm3DVar Completed at Sat Jul  8 01:45:15 UTC 2023
with 86 successfully completed jobs

@WalterKolczynski-NOAA WalterKolczynski-NOAA merged commit 4fdf144 into NOAA-EMC:develop Jul 10, 2023
4 checks passed
@aerorahul aerorahul deleted the feature/wxflow branch March 19, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-Hera-Passed **Bot use only** CI testing on Hera for this PR has completed successfully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants